<script type="text/javascript" >
    jQuery('#color').colorPicker();
    stFacebookToolbox.load_tooltip();
    stFacebookToolbox.on_submitform('#stFacebookToolboxForm', function(data){
        stFacebookToolbox.loadPage('flag_set_up', '', '<?php _e("Successful", $config['plugin_name']) ?>');
    });
</script>
<div class="w100p bgl">
    <div class="w100p bgr p5b">
                   
          <form class="stform" id="stFacebookToolboxForm" action="<?php echo admin_url('/admin.php?page=' . $config['plugin_name'] . '&action=' . $current_action) ?>" method="post" >
            <ul>
                <li>
                    <label><?php _e('Flag name', $config['plugin_name']); ?>:</label>
                    <div class="">
                        <input value="" class="required" name="data[flagname]" id="flagname" type="text" />
                        <input type="hidden" name="data[user_id]" value ="<?php echo $user_id; ?>" />
                    </div>
                    <br clear="both" />
                </li>
               
                <li>
                    <label style="width:183px;"><?php _e('Color code', $config['plugin_name']); ?>:</label>
                    <div>
                        <input  name="data[flagcolorcode]" id="color" type="text" value=""  />
                    </div>
                    <br clear="both" />
                </li>
                                <li>
                    <label><?php _e('Flag description', $config['plugin_name']); ?>:</label>
                       <div>
                        	<textarea title="flagdescription"
                                      class="" name="data[flagdescription]" cols="5" rows="5"
                                      id="flagdescription" tabindex="13" ></textarea>
						</div>                
                    <br clear="both" />
                </li>
                <li>
                    <input type="submit" value="Save" />
                </li>

          
            </ul>
           
        </form>
            

    </div>
</div>
